import os.path

from loguru import logger

logger.add("{time}.log", backtrace=True)
logger.info('Watch Out!')
logger.warning('Watch Out!')
logger.error('Watch Out!')
logger.debug(os.path.abspath('data.xls'))
